package com.bkgy.controller.acidefficiency.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bkgy.commom.model.Temp;
import com.bkgy.controller.acidefficiency.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AcidEfficiencyDao extends BaseMapper<TbTcm22280ProSpeed> {

    AcidEfficiency getAcidEfficiency(@Param("query") AcidEfficiency query);

    List<AcidEfficiencyListResp> getAcidEfficiencyList(Page<?> page, @Param("query") AcidEfficiencyListReq query);

    List<AcidEfficiencyListResp> getAcidEfficiencyLists(Page<?> page, @Param("query") AcidEfficiencyListReq query);

    Integer getAcidEfficiencyCount(@Param("query") AcidEfficiencyListReq query);

    List<ReWeldListResp> getReWeldList(Page<?> page, @Param("query") ReWeldListReq query);

    Integer getReWeldCount(@Param("query") ReWeldListReq query);

    Integer getSingleRollListCount(@Param("query") SingleRollListReq query);

    List<EarlyWarningResp> getEarlyWarning();

    List<DiffTimeResp> getDiffTime();

    List<ChangeRollListResp> getRollChange(Page<?> page, @Param("query") ChangeRollListReq query);

    Integer getRollChangeCount(@Param("query") ChangeRollListReq query);

    List<UncoilerResp> getUncoiler();

    /**
     * 查询钢种产量统计
     */
    List<Temp> selectSteelOutput(String beginDate, String endDate);

    List<TbTcm22280ProSpeed> selectEff(String beginDate, String endDate);
}




